<?php
	class newsRelationModel extends relationModel{
		public $table="news";
		public $join=array(
			"news_flag"=>array(
				"type"=>"has_many",
				"foreign_key"=>"nid"
			)
		);
	}
?>